package com.gla.giliair.service;

import com.gla.giliair.entity.Planemodel;
import com.gla.giliair.entity.PlanemodelExample;
import com.gla.giliair.web.vo.PlanemodelVO;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Author: Yingtian qian
 * @Date: 2021/8/25 11:56
 */
public interface PlanemodelService {
    Planemodel selectPlanemodelById(Long planemodelId);

    List<Planemodel> selectAllPlanemodels(PlanemodelExample orderBy, boolean showDeleted);

    List<Planemodel> selectPlanemodelsByParams(PlanemodelExample orderBy, boolean showDeleted, PlanemodelVO searchParams);

    Map<String, Object> findAllPlanemodels(String sort, boolean isASC, boolean showDeleted, Integer page, Integer pageSize);

    Map<String, Object> addPlanemodel(Planemodel planemodel);

    Map<String, Object> deletePlanemodel(Long planemodelId, boolean isSeatDeleted);

    Map<String, Object> searchPlanemodels(String sort, boolean isASC, boolean showDeleted, Integer page, Integer pageSize, PlanemodelVO searchParams);
}
